package com.okchan.domain;

/**
 * @author Ok chan
 */
public class Book {
    private Long id;
    private String bookId;
    private String bookName;//书名
    private String bookPublisher;//作者名
    private Long bookPrice;//价格
    private String bookAuthor;//作者

    //  ---???
    public Book() {

    }

    public Book(Long id, String bookId, String bookName, String bookPublisher, Long bookPrice, String bookAuthor) {
        this.id = id;
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookPublisher = bookPublisher;
        this.bookPrice = bookPrice;
        this.bookAuthor = bookAuthor;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookPublisher() {
        return bookPublisher;
    }

    public void setBookPublisher(String bookPublisher) {
        this.bookPublisher = bookPublisher;
    }

    public Long getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(Long bookPrice) {
        this.bookPrice = bookPrice;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

//    @Override
//    public String toString() {
//        return "图书信息{" +
//                "id=" + id +
//                ", bookId='" + bookId + '\'' +
//                ", bookName='" + bookName + '\'' +
//                ", bookPublisher='" + bookPublisher + '\'' +
//                ", bookPrice=" + bookPrice +
//                ", bookAuthor='" + bookAuthor + '\'' +
//                '}' ;
//    }
}
